SmartCrawl\Controllers\Primary_Terms S

Total Complexity 50
Dependencies 3
Dependents 3
Total lines 388
Lines of code 215
Logical lines of code 94
Comment lines 114
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
register_primary_category()
A
47 7 39
get_wds_primary_term()
S
60 6 12
get_post_taxonomies()
S
55 5 19
get_hierarchical_link()
S
61 4 12
post_link_category()
S
62 4 11
save_primary_term()
S
56 3 20
register_assets()
S
59 3 16
sanitize_post_type_link()
S
62 3 11
get_primary_term()
S
59 2 15
get_post_terms()
S
67 3 8
save_primary_terms()
S
71 2 6
should_run()
S
78 2 3
post_type_link()
S
65 2 8
get_taxonomies_for_js()
S
62 1 12
init()
S
67 1 7
get_terms_for_js()
S
72 1 6
include_selection_template()
S
68 1 10